/**
 * 2009-12-15 下午03:11:12 
 * esignature
 * com.smc.signature
 * CertificateFactory
 */
package com.smc.signature;

/**
 * @author chenheng
 * @version 0.0.1
 */
public class CertificateFactory {
	private Certificate jksCertificate ;

	
	public Certificate getJksCertificate() {
		return jksCertificate;
	}
	public void setJksCertificate(Certificate jksCertificate) {
		this.jksCertificate = jksCertificate;
	}


	public Certificate getInstance(String storeType) {
		if ( "jks".equalsIgnoreCase(storeType)) {
			return jksCertificate ;
		} else {
			return null ;
		}
	}
}
